/*
 * MouseClickEvent.h
 *
 *  Created on: 2013-9-1
 *  Author: xnan
 */

#ifndef XNL_MOUSECLICKEVENT_H_
#define XNL_MOUSECLICKEVENT_H_

#include "MouseBaseEvent.h"

NS_XNL_BEGIN

/*
 * 鼠标点击事件
 * 包括鼠标单击和双击
 */
class MouseClickEvent : public MouseBaseEvent {
public:
    MouseClickEvent( IEventDispatcher * p_target, XNint p_eventType, XNint p_x, XNint p_y, XNint p_key );
    virtual ~MouseClickEvent();
    
public:
    static const XNint MOUSE_EVENT_CLICK = 1;
    static const XNint MOUSE_EVENT_DOUBLE_CLICK = 2;
};

NS_XNL_END

#endif /* XNL_MOUSECLICKEVENT_H_ */
